<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>青羊区品酒俱乐部列表</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<include file="public/comm" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav fs_xl">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title fs_xl">青羊区品酒俱乐部列表</h1>
		</header>
		<div class="mui-content fs_xl">
		    <div class="join">
		    	<ul>
		    		<volist name="station_list" id="vo">
			    		<li class="fs_xl cls">
			    			<div class="join_img fs_xl">
			    				<img class="fs_xl" src="{$vo.original_img|default='__STATIC__/images/icon6.png'}" />
			    			</div>
			    			<div class="join_info fs_xl">
			    				<p class="fs_m">俱乐部名称：<span>{$vo.name}</span></p>
			    				<p class="fs_m">秘书长：<span>{$vo.user_name}</span></p>
			    				<p class="fs_m">成员：<span>{$vo.member_count}人</span></p>
			    				<p class="fs_m">当前业绩：<span>{$vo.performance_count}</span>¥</p>
			    				<p class="fs_m">
			    					<a class="fs_m join_station" station_id = "{$vo.id}">申请加入</a>
			    				</p>
			    			</div>
			    		</li>
		    		</volist>
		    	</ul>
		    </div>
		</div>
		<script type="text/javascript">
			$(function(){
				$(".join_station").click(function(){
					var station_id = $(this).attr("station_id");
					$.ajax({
						type:"POST",
						url:"/Mobile/station/apply_join_station",
						data:{"station_id":station_id},
						dataType:"json",
						success:function(data){
							alert(data.msg);
						}
					});
				})
			});
		</script>
	</body>
</html>